<!--
 * @Description: 自定义组件 CountAdd
 * @Author: Aroma
 * @Date: 2024-11-13 15:19:11
 * @LastEditors: Aroma
 * @LastEditTime: 2024-11-13 20:07:52
 * @别瞎看: 你个无脑牛马
-->
<template>
    <div>
      <ul>
        <li v-for="(item, index) in items" :key="index">{{ item }}</li>
      </ul>
    </div>
  </template>
  
  <script setup>
  import { defineProps } from 'vue';
  
  // 定义 props
  const props = defineProps({
    items: {
      type: Array,
      default: () => []
    }
  });
  </script>